#include "jse_log.h"
#include <spdlog/spdlog.h>
#include <spdlog/sinks/stdout_color_sinks.h>

jse_log jse_log::instance_;

jse_log& jse_log::get()
{
    return instance_;
}

bool jse_log::init()
{
    console_ = spdlog::stdout_color_mt("console");
    console_->set_level(spdlog::level::trace);
    return true;
}
